package cn.iocoder.yudao.module.dify.controller.admin.taskprocessingrecords.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 用户调用dify任务工作流处理记录新增/修改 Request VO")
@Data
public class TaskProcessingRecordsSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15672")
    private Long id;

    @Schema(description = "用户选择文件id列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "用户选择文件id列表不能为空")
    private List<String> fileIdList;

    @Schema(description = "原始文件名列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")

    private List<String> originalName;

    @Schema(description = "Dify接口请求ID", example = "5448")
    private String difyRequestId;

    @Schema(description = "Dify生成的文件下载URL", example = "https://www.iocoder.cn")
    private String difyDownloadUrl;

    @Schema(description = "Dify链接过期时间")
    private LocalDateTime difyExpiresAt;

    @Schema(description = "Dify接口返回数据")
    private String difyResponse;

    @Schema(description = "MinIO访问URL", requiredMode = Schema.RequiredMode.REQUIRED, example = "https://www.iocoder.cn")
    private String minioUrl;

    @Schema(description = "处理状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer processStatus;

    @Schema(description = "重试次数", requiredMode = Schema.RequiredMode.REQUIRED, example = "5654")

    private Integer retryCount;

    @Schema(description = "任务类型", example = "2")
    private Integer type;

}